package cn.bupt.adt.entity.autogenerate;

import java.util.Date;

public class DoctorAppUser implements Comparable<DoctorAppUser> {

    private Integer id;
    private String phone;
    private String name;
    private String account;
    private String passwd;
    private Double money;
    private Double riskMargin;
    private String invitaCode;
    private Date loginTime;
    private Date lastLoginTime;
    private Integer operationSuccessNum;
    private Double waitedToBeWithdrawnMoney;
    private String portrait;
    private String identificationNumber;
    private String identificationNegImg;
    private String identificationPosImg;
    private String degree;
    private String degreeImg;
    private String graduationImg;
    private String qualificationNumber;
    private String qualificationImg;
    private String certificationImg;
    private String professionalTitle;
    private String professionalTitleImg;
    private Boolean reviewStatus;
    private Integer takeOrderNum;
    private Integer finishOrderNum;
    private Double finishOrderMoney;
    private String aliAccount;
    private String age;
    private Boolean idenType;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd == null ? null : passwd.trim();
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Double getRiskMargin() {
        return riskMargin;
    }

    public void setRiskMargin(Double riskMargin) {
        this.riskMargin = riskMargin;
    }

    public String getInvitaCode() {
        return invitaCode;
    }

    public void setInvitaCode(String invitaCode) {
        this.invitaCode = invitaCode == null ? null : invitaCode.trim();
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Integer getOperationSuccessNum() {
        return operationSuccessNum;
    }

    public void setOperationSuccessNum(Integer operationSuccessNum) {
        this.operationSuccessNum = operationSuccessNum;
    }

    public Double getWaitedToBeWithdrawnMoney() {
        return waitedToBeWithdrawnMoney;
    }

    public void setWaitedToBeWithdrawnMoney(Double waitedToBeWithdrawnMoney) {
        this.waitedToBeWithdrawnMoney = waitedToBeWithdrawnMoney;
    }

    public String getPortrait() {
        return portrait;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait == null ? null : portrait.trim();
    }

    public String getIdentificationNumber() {
        return identificationNumber;
    }

    public void setIdentificationNumber(String identificationNumber) {
        this.identificationNumber = identificationNumber == null ? null : identificationNumber.trim();
    }

    public String getIdentificationNegImg() {
        return identificationNegImg;
    }

    public void setIdentificationNegImg(String identificationNegImg) {
        this.identificationNegImg = identificationNegImg == null ? null : identificationNegImg.trim();
    }

    public String getIdentificationPosImg() {
        return identificationPosImg;
    }

    public void setIdentificationPosImg(String identificationPosImg) {
        this.identificationPosImg = identificationPosImg == null ? null : identificationPosImg.trim();
    }

    public String getDegree() {
        return degree;
    }

    public void setDegree(String degree) {
        this.degree = degree == null ? null : degree.trim();
    }

    public String getDegreeImg() {
        return degreeImg;
    }

    public void setDegreeImg(String degreeImg) {
        this.degreeImg = degreeImg == null ? null : degreeImg.trim();
    }

    public String getGraduationImg() {
        return graduationImg;
    }

    public void setGraduationImg(String graduationImg) {
        this.graduationImg = graduationImg == null ? null : graduationImg.trim();
    }

    public String getQualificationNumber() {
        return qualificationNumber;
    }

    public void setQualificationNumber(String qualificationNumber) {
        this.qualificationNumber = qualificationNumber == null ? null : qualificationNumber.trim();
    }

    public String getQualificationImg() {
        return qualificationImg;
    }

    public void setQualificationImg(String qualificationImg) {
        this.qualificationImg = qualificationImg == null ? null : qualificationImg.trim();
    }

    public String getCertificationImg() {
        return certificationImg;
    }

    public void setCertificationImg(String certificationImg) {
        this.certificationImg = certificationImg == null ? null : certificationImg.trim();
    }

    public String getProfessionalTitle() {
        return professionalTitle;
    }

    public void setProfessionalTitle(String professionalTitle) {
        this.professionalTitle = professionalTitle == null ? null : professionalTitle.trim();
    }

    public String getProfessionalTitleImg() {
        return professionalTitleImg;
    }

    public void setProfessionalTitleImg(String professionalTitleImg) {
        this.professionalTitleImg = professionalTitleImg == null ? null : professionalTitleImg.trim();
    }

    public Boolean getReviewStatus() {
        return reviewStatus;
    }

    public void setReviewStatus(Boolean reviewStatus) {
        this.reviewStatus = reviewStatus;
    }

    public Integer getTakeOrderNum() {
        return takeOrderNum;
    }

    public void setTakeOrderNum(Integer takeOrderNum) {
        this.takeOrderNum = takeOrderNum;
    }

    public Integer getFinishOrderNum() {
        return finishOrderNum;
    }

    public void setFinishOrderNum(Integer finishOrderNum) {
        this.finishOrderNum = finishOrderNum;
    }

    public Double getFinishOrderMoney() {
        return finishOrderMoney;
    }

    public void setFinishOrderMoney(Double finishOrderMoney) {
        this.finishOrderMoney = finishOrderMoney;
    }

    public String getAliAccount() {
        return aliAccount;
    }

    public void setAliAccount(String aliAccount) {
        this.aliAccount = aliAccount == null ? null : aliAccount.trim();
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age == null ? null : age.trim();
    }

    public Boolean getIdenType() {
        return idenType;
    }

    public void setIdenType(Boolean idenType) {
        this.idenType = idenType;
    }

    @Override
    public int compareTo(DoctorAppUser o) {
        return o.getOperationSuccessNum() - this.operationSuccessNum;
    }
}